package com.wmyg.antifake.fabric.vo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * @author 王卓逸
 * @program TODO
 * @description TODO
 * @create 2019-05-12
 */
@Data
public class TrackFabricVo {

    @JSONField(name = "product_id")
    private String productId;

    @JSONField(name = "product_name")
    private String productName;

    @JSONField(name = "product_specs")
    private String productSpecs;

    @JSONField(name = "remarks")
    private String remarks;

    @JSONField(name = "product_logo")
    private String productLogo;

    @JSONField(name = "product_pics")
    private String productPics;

    @JSONField(name = "company_id")
    private Integer companyId;

    @JSONField(name = "product_hash")
    private String productHash;

    @JSONField(name = "factory_id")
    private Integer factoryId;

    @JSONField(name = "origin_id")
    private Integer originId;

    @JSONField(name = "case_num")
    private Integer caseNum;

    @JSONField(name = "box_num")
    private Integer boxNum;

    @JSONField(name = "pack_num")
    private Integer packNum;

    @JSONField(name = "secret_key")
    private int[] secretKey;

    @JSONField(name = "histories")
    private List<HistoryFabricVo> histories = new ArrayList<>();

    @JSONField(name = "is_second_binding")
    private Boolean isSecondBinding;

    @JSONField(name = "is_valid")
    private Boolean isValid;

}
